package com.member.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.member.shop.domain.SysBizGradeLog;

import java.util.List;

/**
 * 等级变动记录Mapper接口
 *
 * @author wangxin
 * @date 2024-06-13
 */
public interface SysBizGradeLogMapper extends BaseMapper<SysBizGradeLog> {
    /**
     * 查询等级变动记录
     *
     * @param id 等级变动记录主键
     * @return 等级变动记录
     */
    public SysBizGradeLog selectSysBizGradeLogById(Long id);

    /**
     * 查询等级变动记录列表
     *
     * @param sysBizGradeLog 等级变动记录
     * @return 等级变动记录集合
     */
    public List<SysBizGradeLog> selectSysBizGradeLogList(SysBizGradeLog sysBizGradeLog);

    /**
     * 新增等级变动记录
     *
     * @param sysBizGradeLog 等级变动记录
     * @return 结果
     */
    public int insertSysBizGradeLog(SysBizGradeLog sysBizGradeLog);

    /**
     * 修改等级变动记录
     *
     * @param sysBizGradeLog 等级变动记录
     * @return 结果
     */
    public int updateSysBizGradeLog(SysBizGradeLog sysBizGradeLog);

    /**
     * 删除等级变动记录
     *
     * @param id 等级变动记录主键
     * @return 结果
     */
    public int deleteSysBizGradeLogById(Long id);

    /**
     * 批量删除等级变动记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysBizGradeLogByIds(Long[] ids);

    List<SysBizGradeLog> selectSysBizGradeLog(SysBizGradeLog sysBizGradeLog);
}
